package com.photoeditor.demo.ui.activity.edit;

import com.android.gpuimage.GPUImageFilter;
import com.photoeditor.demo.app.XActivity;
import com.photoeditor.demo.db.FilterBean;
import com.photoeditor.demo.ui.widget.image.MediaEditSupportType;

/**
 * 有滤镜添加的多媒体编辑界面接口
 * <p/>
 */
public abstract class MediaEditBaseActivity extends XActivity implements MediaEditSupportType {
    public abstract void showBottomBar(boolean outSide, int type);

    public abstract void showInsideBottomBarWithName(String name);

    public abstract void showInsideBottomBarWithProgress(int progress, int color);

    public abstract int getSeekBarProgress();

    public abstract void setFilter(GPUImageFilter filter);

    public abstract void clearFilter(GPUImageFilter filter);

    public abstract void requestRender();

    public abstract void setConfirmEnable(boolean flag);

    /**
     * 设置艺术滤镜数据
     *
     * @param bean
     */
    public void setArtFilter(FilterBean bean) {

    }

    /**
     * 艺术滤镜透明度
     *
     * @param process
     */
    public void requestDraw(float process) {

    }
}
